# makefile

test_buffer:test_buffer.cpp
	g++ -o $@ $^ -std=c++11
test_log_format:test_log_format.cc
	g++ -o $@ $^ -std=c++11
test_log_level:test_log_level.cc
	g++ -o $@ $^ -std=c++11
test_log_sink:test_log_sink.cc
	g++ -o $@ $^ -std=c++11
test_log_system:test_log_system.cc
	g++ -o $@ $^ -std=c++11
test_logger:test_logger.cc
	g++ -o $@ $^ -std=c++11 -lpthread
test_utility:test_utility.cpp
	g++ -o $@ $^ -std=c++11
test:test.cpp
	g++ -o $@ $^ -std=c++11

.PHONY:test_buffer test_log_format test_log_level test_log_sink test_log_system test_logger test_utility test

.PHONY:clean
clean:
	rm -f test_buffer test_log_format test_log_level test_log_sink test_log_system test_logger test_utility test 
	rm -rf logfile srcollLogfile
